import Vue from 'vue'
import Vuex from 'vuex'
import getters from './getters'
Vue.use(Vuex)
const stores = new Vuex.Store({
  state:{
    isHomeRouter:true,
    //测试数据
    num:1,
    str:"123"
  },
  modules: {

  },
  mutations:{
    add(state){
      state.num++;
    }
  },
  actions:{

  },
  getters
})
export default stores
